/*------------------------------------------------------------------------------
 * PROJ : Prototype
 * NAME : sculove.spring.framework.model.PageDTO.java
 *        
 * Copyright 2010 sculove All rights reserved
 *------------------------------------------------------------------------------
*/
package sculove.spring.framework.model;

import java.util.List;

import org.springframework.validation.Errors;

import sculove.spring.framework.common.AbstractDto;
/**
 * <pre>
 * sculove.spring.framework.model.PageDTO.java
 * 
 * 페이징 전용 DTO
 * 
 * </pre>
 * @date : 2010. 1. 6. 오후 5:47:45
 * @version :
 * @author : sculove
 */
public class PageDTO extends AbstractDto { 
 
    private PageIndexDTO pageIndex;

    private List pagedList;

    public PageDTO(PageIndexDTO pageIndex, List pagedList) {
        this.pageIndex = pageIndex;
        this.pagedList = pagedList;
    }

    public PageIndexDTO getPageIndex(){
        return pageIndex;
    }

    public List getPagedList(){
        return pagedList;
    }

	@Override
	public void validate(Object target, Errors errors) {
		// TODO Auto-generated method stub
		
	}
}
